package com.smartcruise.data;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * Created by FengChaoQun
 * on 2018/2/5 0005
 * 用户信息
 */

public class UserInfo extends RealmObject {

    /**
     * address : 中国江苏省南京市高淳区超超水产养殖基地
     * email : 3745@qq.com
     * id : 5a3212d2bd527c153821a246
     * idNumber : 421192817163473744
     * nation : 维族
     * phoneNumber : 18379654536
     * remarks :
     * status : 巡护中
     * token : token:88f4b7cb57b9404bbd89aec768ea2c8a
     * userName : cesgu
     */

    @PrimaryKey
    private String id;
    private String address;
    private String email;
    private String idNumber;
    private String nation;
    private String phoneNumber;
    private long registerDate;
    private String remarks;
    private String status;
    private String token;
    private String subjectId;
    private String userName;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public long getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(long registerDate) {
        this.registerDate = registerDate;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id='" + id + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", nation='" + nation + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", registerDate=" + registerDate +
                ", remarks='" + remarks + '\'' +
                ", status='" + status + '\'' +
                ", token='" + token + '\'' +
                ", subjectId='" + subjectId + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
